package com.chen.web_chat.controller;


import com.chen.web_chat.service.IUserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 好友申请表 前端控制器
 * </p>
 *
 * @author author
 * @since 2024-04-12
 */
@RestController
@RequestMapping("/api/application-info")
public class ApplicationInfoController {
    @Autowired
    IUserInfoService userInfoService;

    @GetMapping("/test")
    public String test(){
       return userInfoService.getById(1).getUserName();
    }


}
